package com.bvgol.examples.springboot.mybatismultiple.mapper.dataSource1;

import com.bvgol.examples.springboot.mybatismultiple.entity.Book;

import java.util.List;

public interface BookDao {
    int deleteByPrimaryKey(Integer id);

    int insert(Book record);

    int insertSelective(Book record);

    Book selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Book record);

    int updateByPrimaryKey(Book record);

    List<Book> selectAll();

}
